package cn.yunhe.biz;

import cn.yunhe.pojo.Account;

import java.util.List;

public interface AccountBiz {
    boolean insertAccount(Account account);
    boolean updateAccount(Account account);
    boolean deleteAccount(int id);

    Account getById(int id);
    List<Account> findAccount(String hql);
    List<Account>findAccount(Account account);

    boolean doTransferAccount(int fromaid,int toaid,Double ftMoney);
}
